/**
 * jims
 */
package com.jims.master.modules.med.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 医保数据与his数据对照Entity
 *
 * @author 陈晓阳
 * @version 2017-06-06
 */
public class HisVsMedical extends DataEntity<HisVsMedical> {

    private static final long serialVersionUID = 1L;
    private String hisVsMedicalId;      //医保his对照表id
    private String itemClassHis;        // his项目类别
    private String itemNameHis;        // his项目名称
    private String itemCodeHis;        // his项目代码
    private String itemSpecHis;        // his项目规格
    private String itemUnits;        // his 项目单位
    private String remarksHis;      //his备注--费别
    private String chargeType;        // his费别
    private String itemNameMed;        // 医保项目名称
    private String itemCodeMed;        // 医保项目代码
    private String itemClassMed;        // 医保项目类别
    private String specMed;          //医保项目规格
    private String unitsMed;         //医保项目单位
    private String province;        // 所属省份
    private String priceId;         //价表Id
    private String medicalId;       //医保Id
    private String medicalType;//医保类别--市医保
    private String medicalInsuranceType;//医保类别

    /**
     * 扩展字段
     */
    private String inputCode; //项目搜索
    private String drugForm; //项目剂型


    private String status = "0";     //对照状态

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public HisVsMedical() {
        super();
    }

    public HisVsMedical(String id) {
        super(id);
    }


    public String getInputCode() {
        return inputCode;
    }

    public void setInputCode(String inputCode) {
        this.inputCode = inputCode;
    }

    public String getHisVsMedicalId() {
        return hisVsMedicalId;
    }

    public void setHisVsMedicalId(String hisVsMedicalId) {
        this.hisVsMedicalId = hisVsMedicalId;
    }

    public String getPriceId() {
        return priceId;
    }

    public void setPriceId(String priceId) {
        this.priceId = priceId;
    }

    public String getMedicalType() {
        return medicalType;
    }

    public void setMedicalType(String medicalType) {
        this.medicalType = medicalType;
    }

    public String getSpecMed() {
        return specMed;
    }

    public void setSpecMed(String specMed) {
        this.specMed = specMed;
    }

    public String getUnitsMed() {
        return unitsMed;
    }

    public void setUnitsMed(String unitsMed) {
        this.unitsMed = unitsMed;
    }

    public String getRemarksHis() {
        return remarksHis;
    }

    public void setRemarksHis(String remarksHis) {
        this.remarksHis = remarksHis;
    }

    public String getMedicalId() {
        return medicalId;
    }

    public void setMedicalId(String medicalId) {
        this.medicalId = medicalId;
    }

    public String getMedicalInsuranceType() {
        return medicalInsuranceType;
    }

    public void setMedicalInsuranceType(String medicalInsuranceType) {
        this.medicalInsuranceType = medicalInsuranceType;
    }

    @Length(min = 1, max = 10, message = "his项目类别长度必须介于 1 和 10 之间")
    public String getItemClassHis() {
        return itemClassHis;
    }

    public void setItemClassHis(String itemClassHis) {
        this.itemClassHis = itemClassHis;
    }

    @Length(min = 0, max = 100, message = "his项目名称长度必须介于 0 和 100 之间")
    public String getItemNameHis() {
        return itemNameHis;
    }

    public void setItemNameHis(String itemNameHis) {
        this.itemNameHis = itemNameHis;
    }

    @Length(min = 0, max = 50, message = "his项目代码长度必须介于 0 和 50 之间")
    public String getItemCodeHis() {
        return itemCodeHis;
    }

    public void setItemCodeHis(String itemCodeHis) {
        this.itemCodeHis = itemCodeHis;
    }

    @Length(min = 0, max = 50, message = "his项目规格长度必须介于 0 和 50 之间")
    public String getItemSpecHis() {
        return itemSpecHis;
    }

    public void setItemSpecHis(String itemSpecHis) {
        this.itemSpecHis = itemSpecHis;
    }

    @Length(min = 0, max = 20, message = "his 项目单位长度必须介于 0 和 20 之间")
    public String getItemUnits() {
        return itemUnits;
    }

    public void setItemUnits(String itemUnits) {
        this.itemUnits = itemUnits;
    }

    @Length(min = 0, max = 64, message = "费别长度必须介于 0 和 64 之间")
    public String getChargeType() {
        return chargeType;
    }

    public void setChargeType(String chargeType) {
        this.chargeType = chargeType;
    }

    @Length(min = 0, max = 10, message = "医保项目类别长度必须介于 0 和 10 之间")
    public String getItemClassMed() {
        return itemClassMed;
    }

    public void setItemClassMed(String itemClassMed) {
        this.itemClassMed = itemClassMed;
    }

    @Length(min = 0, max = 50, message = "医保项目代码长度必须介于 0 和 50 之间")
    public String getItemCodeMed() {
        return itemCodeMed;
    }

    public void setItemCodeMed(String itemCodeMed) {
        this.itemCodeMed = itemCodeMed;
    }

    @Length(min = 0, max = 100, message = "医保项目名称长度必须介于 0 和 100 之间")
    public String getItemNameMed() {
        return itemNameMed;
    }

    public void setItemNameMed(String itemNameMed) {
        this.itemNameMed = itemNameMed;
    }

    @Length(min = 1, max = 64, message = "所属省份长度必须介于 1 和 64 之间")
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getDrugForm() {
        return drugForm;
    }

    public void setDrugForm(String drugForm) {
        this.drugForm = drugForm;
    }
}